package com.med.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class MedicineDO {
  //  收藏id
  private Integer collectionId;
  private Integer    medicineId;
  private String  medicineName;
  private Double  medicinePrice;
  private String  medicineCover;
  private Integer    medicineNumber;
  private String  medicineDescription;
  private Integer    medicineCategoryId;
  private String  medicineCategoryName;
  private String  medicineUsage;
  private String  medicineDosage;
  private String  medicineNotes;
  private String  medicineEfficacy;
  private Integer    medicineIsPrescription;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp medicineCreateTime;
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
  private Timestamp medicineUpdateTime;
  private Integer medicineDelete;


}
